package com.photonpay.api.client;

import com.photonpay.api.request.BaseRequest;
import com.photonpay.api.response.BaseResponse;

/**
 * @author ：lo-
 * @date ：Created in 2023/11/22 14:09
 */
public interface PhotonPayClient {

    /**
     * 发起请求
     * @param request 请求参数
     * @return 响应信息
     */
    <T extends BaseResponse> T execute(BaseRequest<T> request);
}
